WPEverest\URMembership\Admin\Services\Stripe\StripeService C

Total Complexity 106
Dependencies 20
Dependents 7
Total lines 752
Lines of code 587
Logical lines of code 328
Comment lines 43
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
create_subscription()
D
27
28 139
process_stripe_payment()
B
38 15 71
create_stripe_product_and_price()
A
38 11 71
update_order()
A
40 9 57
sync_coupon()
A
46 9 38
refund_subscription()
A
45 8 45
handle_succeeded_invoice()
S
42 4 49
sendEmail()
S
51 4 24
refund()
S
59 4 13
cancel_subscription()
S
56 3 17
refund_transaction()
S
58 2 16
__construct()
S
61 2 11
get_stripe_settings()
S
63 2 10
handle_webhook()
S
66 2 9
validate_setup()
S
74 2 4
revert_subscription()
S
60 1 13